package com.accp.vehiclecare.dao.zbdao;

import com.accp.vehiclecare.pojo.Group;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GroupMapper {
    int deleteByPrimaryKey(Integer groupid);

    int insert(Group record);

    int insertSelective(Group record);

    Group selectByPrimaryKey(Integer groupid);

    /**
     * 根据部门Id查询指定的部门组
     * @return
     */
    List<Group> SelectGroup(@Param("did") Integer did);

    int updateByPrimaryKeySelective(Group record);

    int updateByPrimaryKey(Group record);
}